package com.drug.mingkang.permission.model;

import java.util.Arrays;
import java.util.Date;
import java.io.Serializable;

/**
 * 角色表(PerRole)实体类
 *
 * @author wenchangjian
 * @since 2020-08-11 12:00:14
 */
public class PerRole implements Serializable {
    private static final long serialVersionUID = -83761460588683656L;
  /**
    * 角色ID
    */
    private Integer roleId;
  /**
    * 角色名称
    */
    private String roleName;
  /**
    * 备注
    */
    private String roleRemark;
  /**
    * 是否有效
    */
    private Integer whetherValid;
  /**
    * 排序
    */
    private Integer roleRank;
  /**
    * 创建时间
    */
    private Date roleTime;
  /**
    * 创建人
    */
    private String createPerson;
  /**
    * 备注1
    */
    private String roleRank1;
  /**
    * 备注2
    */
    private String roleRank2;
  /**
    * 备注3
    */
    private String roleRank3;

    private String[]moduleAll  ;
  
    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
  
    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
  
    public String getRoleRemark() {
        return roleRemark;
    }

    public void setRoleRemark(String roleRemark) {
        this.roleRemark = roleRemark;
    }
  
    public Integer getWhetherValid() {
        return whetherValid;
    }

    public void setWhetherValid(Integer whetherValid) {
        this.whetherValid = whetherValid;
    }
  
    public Integer getRoleRank() {
        return roleRank;
    }

    public void setRoleRank(Integer roleRank) {
        this.roleRank = roleRank;
    }
  
    public Date getRoleTime() {
        return roleTime;
    }

    public void setRoleTime(Date roleTime) {
        this.roleTime = roleTime;
    }
  
    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }
  
    public String getRoleRank1() {
        return roleRank1;
    }

    public void setRoleRank1(String roleRank1) {
        this.roleRank1 = roleRank1;
    }
  
    public String getRoleRank2() {
        return roleRank2;
    }

    public void setRoleRank2(String roleRank2) {
        this.roleRank2 = roleRank2;
    }
  
    public String getRoleRank3() {
        return roleRank3;
    }

    public void setRoleRank3(String roleRank3) {
        this.roleRank3 = roleRank3;
    }

    public String[] getModuleAll() {
        return moduleAll;
    }

    public void setModuleAll(String[] moduleAll) {
        this.moduleAll = moduleAll;
    }

    @Override
    public String toString() {
        return "PerRole{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleRemark='" + roleRemark + '\'' +
                ", whetherValid=" + whetherValid +
                ", roleRank=" + roleRank +
                ", roleTime=" + roleTime +
                ", createPerson='" + createPerson + '\'' +
                ", roleRank1='" + roleRank1 + '\'' +
                ", roleRank2='" + roleRank2 + '\'' +
                ", roleRank3='" + roleRank3 + '\'' +
                ", moduleAll=" + Arrays.toString(moduleAll) +
                '}';
    }
}